set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)

set(TOOLCHAIN_DIR "/home/yangjian/Workspace/Tools/cross_tool/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf")
set(TARGET_PLATFORM "arm-linux-gnueabihf")
set(CMAKE_C_COMPILER "${TOOLCHAIN_DIR}/bin/${TARGET_PLATFORM}-gcc")
set(CMAKE_CXX_COMPILER "${TOOLCHAIN_DIR}/bin/${TARGET_PLATFORM}-g++")


